<template>
  <div>
    <div>
      {{ val }}
    </div>
    <button @click="changeVal">修改</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      val: "11",
    };
  },
  methods: {
    changeVal() {
      this.val = Date.now();
    },
  },
};
</script>

<style scoped></style>
